.class public Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;
.super Lcom/wqmobile/sdk/protocol/cmd/a;


# instance fields
.field private d:[B

.field private e:[B

.field private f:[B

.field private g:[B


# direct methods
.method public constructor <init>()V
    .locals 2

    invoke-direct {p0}, Lcom/wqmobile/sdk/protocol/cmd/a;-><init>()V

    sget-object v0, Lcom/wqmobile/sdk/protocol/cmd/d;->f:Lcom/wqmobile/sdk/protocol/cmd/d;

    invoke-virtual {v0}, Lcom/wqmobile/sdk/protocol/cmd/d;->b()B

    move-result v0

    iput-byte v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->b:B

    const/16 v0, 0x3f

    iput-byte v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->a:B

    const/4 v0, 0x1

    new-array v0, v0, [B

    iput-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->d:[B

    const/4 v0, 0x2

    new-array v0, v0, [B

    iput-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->e:[B

    const/4 v0, 0x4

    new-array v0, v0, [B

    iput-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->f:[B

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->c:Ljava/util/List;

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->d:[B

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->c:Ljava/util/List;

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->e:[B

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->c:Ljava/util/List;

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->f:[B

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-void
.end method


# virtual methods
.method public final a()I
    .locals 2

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->d:[B

    const/4 v1, 0x0

    aget-byte v0, v0, v1

    return v0
.end method

.method public final a([BII)I
    .locals 6

    const/4 v5, 0x0

    sub-int v0, p3, p2

    add-int/lit8 v0, v0, 0x1

    invoke-super {p0, p1, p2, p3}, Lcom/wqmobile/sdk/protocol/cmd/a;->a([BII)I

    move-result v1

    if-nez v1, :cond_0

    move v0, v5

    :goto_0
    return v0

    :cond_0
    move v2, p3

    :goto_1
    aget-byte v3, p1, v2

    iget-byte v4, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->a:B

    if-eq v3, v4, :cond_1

    if-gtz v2, :cond_3

    :cond_1
    if-ge v1, v2, :cond_2

    if-nez v2, :cond_4

    :cond_2
    move v0, v5

    goto :goto_0

    :cond_3
    add-int/lit8 v2, v2, -0x1

    goto :goto_1

    :cond_4
    sub-int/2addr v2, v1

    new-array v3, v2, [B

    iput-object v3, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->g:[B

    iget-object v3, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->g:[B

    invoke-static {v3, v5, p1, v1, v2}, Lcom/wqmobile/sdk/protocol/cmd/b;->a([BI[BII)I

    goto :goto_0
.end method

.method public final b()Z
    .locals 2

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->f:[B

    invoke-static {v0}, Lcom/wqmobile/sdk/protocol/cmd/b;->e([B)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->g:[B

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->f:[B

    invoke-static {v0, v1}, Lcom/wqmobile/sdk/protocol/cmd/b;->a([B[B)Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public final b([BII)Z
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->c:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, 0x2

    invoke-virtual {p0, p1, v0, p2, p3}, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->a([BIII)Z

    move-result v0

    return v0
.end method

.method public final c()[B
    .locals 5

    invoke-super {p0}, Lcom/wqmobile/sdk/protocol/cmd/a;->e()I

    move-result v0

    invoke-super {p0}, Lcom/wqmobile/sdk/protocol/cmd/a;->c()[B

    move-result-object v1

    iget-object v2, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->g:[B

    if-eqz v2, :cond_0

    iget-object v2, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->g:[B

    const/4 v3, 0x0

    iget-object v4, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->g:[B

    array-length v4, v4

    invoke-static {v1, v0, v2, v3, v4}, Lcom/wqmobile/sdk/protocol/cmd/b;->a([BI[BII)I

    :cond_0
    array-length v0, v1

    const/4 v2, 0x1

    sub-int/2addr v0, v2

    iget-byte v2, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->a:B

    aput-byte v2, v1, v0

    return-object v1
.end method

.method public doAction(Lcom/wqmobile/sdk/protocol/a;)Lcom/wqmobile/sdk/protocol/cmd/a;
    .locals 1

    invoke-virtual {p1, p0}, Lcom/wqmobile/sdk/protocol/a;->a(Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;)Lcom/wqmobile/sdk/protocol/cmd/a;

    move-result-object v0

    return-object v0
.end method

.method protected final e()I
    .locals 2

    invoke-super {p0}, Lcom/wqmobile/sdk/protocol/cmd/a;->e()I

    move-result v0

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->g:[B

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->g:[B

    array-length v1, v1

    add-int/2addr v0, v1

    :cond_0
    add-int/lit8 v0, v0, 0x1

    return v0
.end method

.method public final g()[B
    .locals 1

    iget-object v0, p0, Lcom/wqmobile/sdk/protocol/cmd/WQSendContent;->g:[B

    return-object v0
.end method
